Title: isInteger issue with Internet Explorer
Last modified: September 28, 2017

---

# isInteger issue with Internet Explorer

 *  Resolved [benpaddlejones](https://wordpress.org/support/users/benpaddlejones/)
 * (@benpaddlejones)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/isinteger-issue-with-internet-explorer/)
 * I’m gettinga dugger error in IE10, any help appreciated:
 * SCRIPT438: Object doesn’t support property or method ‘isInteger’
    property.js(
   8,9)
 *  function flattenFilters(link, page) {
    current_page = Number.isInteger(page)?
   page : 1; // reset page to initial if not passed in var filters = link.data(‘
   filters’), string = ‘[property_overview sorter=on sorter_type=none pagination
   =off per_page=12 ‘; string += filters; string += ‘ sale_status=’; string += (
   window.location.href.indexOf(“sold-properties”) > -1) ? “Sold” : “Sale,Auction”;
   string += ‘ starting_row=’; string += getStartingRow(); string += ‘ template=
   custom-grid]’; return string; }
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fisinteger-issue-with-internet-explorer%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [benpaddlejones](https://wordpress.org/support/users/benpaddlejones/)
 * (@benpaddlejones)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/isinteger-issue-with-internet-explorer/#post-9540613)
 * I have fixed by adding the pollyfill here:
    [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger)
   to property.js
 * Can this be included in the plugin so permenantly fixed for Internet Explorer?
 * Ben
 *  Plugin Contributor [MariaKravchenko](https://wordpress.org/support/users/mariakravchenko/)
 * (@mariakravchenko)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/isinteger-issue-with-internet-explorer/#post-9542988)
 * Hello.
 * Thank you for pointing. Can you be more exact with a file which you modified?
 * Regards.
 *  Thread Starter [benpaddlejones](https://wordpress.org/support/users/benpaddlejones/)
 * (@benpaddlejones)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/isinteger-issue-with-internet-explorer/#post-9544438)
 * Hi
    The file was “property.js” I just added:
 *     ```
       Number.isInteger = Number.isInteger || function(value) {
         return typeof value === 'number' && 
           isFinite(value) && 
           Math.floor(value) === value;
       };
       ```
   
 * Above the code in my original post here.
 * Ben
 *  Plugin Contributor [MariaKravchenko](https://wordpress.org/support/users/mariakravchenko/)
 * (@mariakravchenko)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/isinteger-issue-with-internet-explorer/#post-9544485)
 * We do not have property.js in our default assembly. Is that something custom?
   Give me please particular path to that file.
 * Regards.
 *  Thread Starter [benpaddlejones](https://wordpress.org/support/users/benpaddlejones/)
 * (@benpaddlejones)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/isinteger-issue-with-internet-explorer/#post-9544511)
 * Ah, sorry I took on this website from someone else you are right it is custom,
   thanks for your help please mark this as solved.
 *  Plugin Contributor [MariaKravchenko](https://wordpress.org/support/users/mariakravchenko/)
 * (@mariakravchenko)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/isinteger-issue-with-internet-explorer/#post-9544520)
 * Thank you for feedback.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘isInteger issue with Internet Explorer’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-property_c36510.svg)
 * [WP-Property - WordPress Powered Real Estate and Property Management](https://wordpress.org/plugins/wp-property/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-property/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-property/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-property/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-property/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-property/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [MariaKravchenko](https://wordpress.org/support/users/mariakravchenko/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/isinteger-issue-with-internet-explorer/#post-9544520)
 * Status: resolved